Support custom grounding workflows - #438
Conversation
|
Thanks! Once this makes it into a release I’ll update my post accordingly.
Fair enough. After all an ontology has (hopefully!) more users than editors, so it’s understandable to cater more for the needs of the formers than the laters. :) |
|
@gouttegd v0.12.10 is live (https://github.com/biopragmatics/pyobo/releases/tag/v0.12.10) and the tutorial is live on RTD (https://pyobo.readthedocs.io/en/latest/ner.html) |
|
all that being said, I think the reason for the slowdown is 1) bioregistry takes a long time to load these days, I would like to improve its caching and 2) identifier standardization happens in the background, which is beyond what the other OBO parsers do (and takes some extra time) |
For what it’s worth, I observed that |
This PR adds a convenience function for creating a grounder from a pre-constructed ontology. It also adds documentation to support @gouttegd's use cases described in https://incenp.org/notes/2025/comparing-python-ontology-libraries.html.
Ultimately, though, his blog post is correct in that PyOBO's goal is to provide downstream user access to the most up-to-date versions of the ontologies more than support local/custom ontology usage.